version: '3'

services:
  piracybot:
    image: piracybot:latest
    container_name: piracybot
    build: .
    env_file: 
      - .env
    user: "${UID}:${GID}"
    volumes:
      - ./logs/:/app/logs/
      - ./db.sqlite3:/app/db.sqlite3
    restart: always
